html to pdf react

49

html to pdf react -

var doc = new jsPDF();
doc.fromHTML(ReactDOMServer.renderToStaticMarkup(this.render()));
doc.save("myDocument.pdf");

Comments

Submit
0 Comments